/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wiai.untl.core.dao.jpa;

import com.wiai.untl.core.dao.StatusRuangDAO;
import com.wiai.untl.core.entity.StatusRuang;
import java.util.List;

/**
 *
 * @author Hendro Steven
 */
public class StatusRuangDAOImpl extends GeneralDAOImpl implements StatusRuangDAO {

    @Override
    public List<StatusRuang> getAllStatusRuang() {
       return getJpaTemplate().find("Select s From StatusRuang s");
    }

    @Override
    public StatusRuang getById(long id) {
        return (StatusRuang)getJpaTemplate().find(StatusRuang.class,id);
    }
    
}
